<div class="row-fluid listcontent">
    <div class="span12">
        <div class="portlet box grey">
            <div class="portlet-title">
                <div class="caption"><i class="icon-cogs"></i>用户反馈列表</div>
                <div class="actions" id="orderaline">
                    <div class="btn-group">
<!--                        <a class="btn blue" href="#" data-toggle="dropdown">-->
<!--                            <i class="icon-cogs"></i>&nbsp;&nbsp;操作-->
<!--                            <i class="icon-angle-down"></i>-->
<!--                        </a>-->
<!--                        <ul class="dropdown-menu pull-right">-->
<!--                            <li><a id="info_delete"><i class="icon-trash"></i>删除狗狗</a></li>-->
<!--                            <!--                            <li><a id="info_forbidden"><i class="icon-lock"></i>禁用用户</a></li>-->-->
<!--                            <!--                            <li><a id="info_recovery"><i class="icon-unlock"></i>恢复用户</a></li>-->-->
<!--                        </ul>-->
                    </div>
                    <div class="btn-group">
<!--                        <a class="btn blue Download" href="javascript:void(0)" data-toggle="dropdown">-->
<!--                            <i class="icon-cogs"></i>&nbsp;&nbsp;导出流浪狗信息-->
<!--                        </a>-->
                    </div>
                </div>
            </div>
            <div class="portlet-body">
                <div class="dataTables_wrapper form-inline">
                    <div class="row-fluid">
                        <div class="span12">
                            <form id="searchform" action="" method="post">
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left">
                                    <input type="button" class="btn blue searchsubmit" value="反馈类型"/>
                                    <select name='search[]' style="width: 80px;margin-right: 10px">
                                        <option value="">全部</option>
                                        <?php foreach ($feedback_status as $key => $vo) { ?>
                                            <option value="{$key}"
                                                <?php if (isset($search[0]) && ($search[0] == $key)) { ?>
                                                    selected="selected"
                                                <?php } ?> >
                                                {$vo}
                                            </option>
                                        <?php } ?>
                                    </select>
                                </div>
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left">
                                    <label>
                                        <input type="button" class="btn blue searchsubmit" value="反馈者姓名"/>
                                        <input type="text" name="search[]"
                                               aria-controls="sample_2" class="m-wrap" value="{$search[1]?$search[1]:''}" style="height:20px"/>
                                    </label>
                                </div>
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left">
                                    <label>
                                        <input type="button" class="btn blue searchsubmit" value="开始时间"/>
                                        <input type="text" name="search[]"
                                               aria-controls="sample_2" class="m-wrap" value="{$search[2]?$search[2]:''}" style="height:20px" onclick="WdatePicker({lang:'zh-cn',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                    </label>
                                </div>
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left">
                                    <label>
                                        <input type="button" class="btn blue searchsubmit" value="结束时间:"/>
                                        <input type="text" name="search[]" placeholder=""
                                               aria-controls="sample_2" class="m-wrap" value="{$search[3]?$search[3]:''}" style="height:20px" onclick="WdatePicker({lang:'zh-cn',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                    </label>
                                </div>
                                <div class="dataTables_filter" id="sample_2_filter" style="float: left;margin-left:10px">
                                    <label>
                                        <input type="button" class="btn blue search" value="提交"/>
                                    </label>
                                </div>

                            </form>
                        </div>
                    </div>
                    <table id="basicinfo" class="table table-hover table-bordered">
                        <thead>
                        <th style="width:8px;"><input type="checkbox"/></th>
                        <th>ID</th>
                        <th>反馈者</th>
                        <th>反馈时间</th>
                        <th>反馈者手机</th>
                        <th>反馈类型</th>
                        <th>反馈内容</th>
                        <!--                        <th style="width:110px;">操作</th>-->
                        </thead>
                        <tbody>
                        {if(count($list)>0)}
                        {volist name='list' id='val'}
                        <tr class="odd gradeX ">
                            <td><input type="checkbox" class="checkboxes" name="id" value="{$val.feedback_id}"/></td>
                            <td>{$val.feedback_id}</td>
                            <td>{$val.user_username}</td>
                            <td>{$val.feedback_time}</td>
                            <td>{$val.user_phone}</td>
                            <td>{$feedback_status[$val.feedback_status]}</td>
                            <td>
                                <a class="btn mini blue reset" data-id='{$val.feedback_id}'><span>查看详情</span></a>
                            </td>
                        </tr>
                        {/volist}
                        {else/}
                        <tr>
                            <td colspan="16"><span style="margin-left: 50px">暂无数据</span></td>
                        </tr>
                        {/if}
                        </tbody>
                    </table>
                    <input type="hidden" name="page" value="{$page?$page:''}">
                </div>
            </div>
        </div>
        {if(!empty($list))}
        {$list->render()}
        {/if}
    </div>
</div>
